﻿// ////////////////////////////////////////////////////////////////////////////
// 
// SWE Case Tool
// 
// Solution:	CaseTool
// Project:		2. CaseTool GUI
// Filename:	MethodFactory.cs
// 
// File Created:	21:08 30.05.2013 
// Last Changed:	18:11 05.06.2013
// 
// ////////////////////////////////////////////////////////////////////////////

using OriginalFactory = SWE.CaseTool.MethodFactory;

namespace SWE.CaseTool.GUI
{
	/// <summary>
	/// A overload of the method factory. Set's the method folder directly to the saved folder from the
	/// settings file.
	/// </summary>
	public class MethodFactory : OriginalFactory
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="MethodFactory" /> class.
		/// </summary>
		/// For furhter information see
		/// <see cref="CaseTool.MethodFactory" />
		/// <param name="project">The project.</param>
		public MethodFactory(Project project)
			: base(project, Settings.GetInstance().MethodFolder) { }
	}
}